<?php
namespace app\admin\controller;
use think\Controller;
use catetree\Catetree;

/**
* 
*/
class BaseAdmin extends Controller
{
	public $CateTree;
	public function __construct(){
		
		parent::__construct();
		$this->CateTree=new Catetree;
				
    }

    public function clearCache(){
    	$res=cache(NULL);
    	if($res){
    		$this->success('缓存清除', 'admin/index/index');
    	}
    }
    
    
}

